import store from '@/store'

const isHaveBug = (code) => {
	const val = store.getters.allDefectObj[code]
	console.log("-------->",code,val)
	if (val){
		return val == '0'
	}else{
		return false
	}
}

export default isHaveBug